//
//  ReleaseImageCell.m
//  HappyStore
//
//  Created by 李小辉 on 16/6/22.
//  Copyright © 2016年 LLJ. All rights reserved.
//

#import "ReleaseImageCell.h"

@implementation ReleaseImageCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)layoutSubviews{
    [super layoutSubviews];
    [self.imageView setFrame:CGRectMake(20, self.imageView.frame.origin.y, 16, 16)];
    self.imageView.contentMode = UIViewContentModeScaleAspectFit;
    [self.textLabel setFrame:CGRectMake(45, self.textLabel.frame.origin.y, self.textLabel.frame.size.width, self.textLabel.frame.size.height)];
}

@end
